﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using System.Windows.Forms;


namespace PluginInterFace
{
    /// <summary>
    /// 插件名请以"pep_"开头(pep_*.dll)
    /// </summary>
    public interface plugin
    {
        /// <summary>
        /// 返回插件的名字,在程序中显示
        /// </summary>
        /// <returns></returns>
        string getPlugName();

        /// <summary>
        /// 显示插件窗体,在程序中显示
        /// </summary>
        /// <param name="ds"></param>
        /// <returns></returns>
        Form showFrom(DataSet ds);
    }
}
